package com.woniu.ucenterservice.dao;

import com.woniu.ucenterservice.pojo.Cts;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface CtsMapper {
    int deleteByPrimaryKey(Integer cid);

    int insert(Cts record);

    int insertSelective(Cts record);

    Cts selectByPrimaryKey(Integer cid);

    int updateByPrimaryKeySelective(Cts record);

    int updateByPrimaryKey(Cts record);
    @Select("select * from cts where tid =#{tid}")
    Cts selectByTid(Integer tid);
}